package com.langsotech.studio.service.presentation.my;
import org.eclipse.emf.common.util.URI;
import org.eclipse.emf.ecore.xmi.XMLHelper;
import org.eclipse.emf.ecore.xmi.XMLLoad;
import org.eclipse.emf.ecore.xmi.XMLSave;
import org.eclipse.emf.ecore.xmi.impl.XMIResourceImpl;
public class BasicXMIResourceImpl extends XMIResourceImpl {
	private PrefixAndUri prefixAndUri;
	public PrefixAndUri getPrefixAndUri() {
		return prefixAndUri;
	}
	public void setPrefixAndUri(PrefixAndUri prefixAndUri) {
		this.prefixAndUri = prefixAndUri;
	}
	public BasicXMIResourceImpl( PrefixAndUri prefixAndUri) {
		super();
		this.prefixAndUri = prefixAndUri;
	}
	public BasicXMIResourceImpl(URI uri, PrefixAndUri prefixAndUri) {
		super(uri);
		this.prefixAndUri = prefixAndUri;
	}
	  @Override
	  protected XMLHelper createXMLHelper()
	  {
	    return XmlObjectFactory.createXMLHelper(this,prefixAndUri);
	  }
	  @Override
	  protected XMLLoad createXMLLoad()
	  {
	    return XmlObjectFactory.createXMLLoad(createXMLHelper(),prefixAndUri);
	  }
	  @Override
	  protected XMLSave createXMLSave()
	  {
	    return XmlObjectFactory.createXMLSave(createXMLHelper());
	  }
}
